home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global partlist, TRIAL, eyerange, bugeyesx, bugeyesy, game6level
- puppetSprite(19, 1)
- set bugeyesx to the locH of sprite 19
- set bugeyesy to the locV of sprite 19
- set eyerange to 35
- set TRIAL to 0
- puppetSprite(3, 1)
- puppetSprite(4, 1)
- set partlist to [:]
- addProp(partlist, 10, random(6))
- addProp(partlist, 9, random(9))
- addProp(partlist, 8, random(10))
- addProp(partlist, 7, random(9))
- addProp(partlist, 6, random(8))
- addProp(partlist, 5, random(7))
- if game6level = 1 then
- set partlist to (partlist + 1) / 2
- end if
- repeat with xxx = 1 to count(partlist)
- if getPropAt(partlist, xxx) > 0 then
- puppetSprite(getPropAt(partlist, xxx), 1)
- set stemp to the name of cast the castNum of sprite getPropAt(partlist, xxx)
- set ntemp to the number of chars in stemp
- if char ntemp - 1 of stemp = "." then
- set ntemp to ntemp - 1
- else
- set ntemp to ntemp - 2
- end if
- set stemp to char 1 to ntemp of stemp
- set stemp to stemp & string(getAt(partlist, xxx))
- set the castNum of sprite getPropAt(partlist, xxx) to the number of cast stemp
- end if
- end repeat
- updateStage()
- end
-